<!--  -->
<template>
  <div class="copyBox">
    <pre>{{data}}</pre>
    <i class="iconfont pdxfuzhi-" @click="copy(data)"></i>
  </div>
</template>

<script>
import mixin from '@/mixin'
export default {
  mixins: [mixin],
  props: {
    data: {
      type: String,
      dafault: ""
    }
  },
  data () {
    return {

    };
  },

  components: {},

  computed: {},

  methods: {}
}

</script>
<style lang='scss' scoped>
.copyBox {
  padding: 15rpx;
  background: #1b2426;
  color: #fff;
  border-radius: 5rpx;
  overflow-x: auto;
}
</style>